<?php
ini_set( 'include_path', '../;.' );

require_once( 'include_package.php' );

include_package( 'Datasources'  , true );
include_package( 'DatabaseModel', true );
include_package( 'Renderers'    , true );

$oConfiguration = new DotRendererConfiguration();
$oConfiguration->SetProperty( 'ShowColumnProperties', true );
$oConfiguration->SetProperty( 'TableFontFamily'     , 'courier' );
$oConfiguration->SetProperty( 'TableFontSize'       , 10 );
$oConfiguration->SetProperty( 'CurvedKeys'          , false );

$oXmlDocument = new XmlDocument( 'ConfigurationExample' );
$oXmlDocument->AddElement( $oConfiguration->GetXmlElement() );

header('Content-Type: text/xml');
echo( $oXmlDocument->Generate() );

?>